package pref.junx.flybird.fragment.daily.Group;

import android.util.Log;

/**
 * Created by acer on 2017/8/4.
 */

public class GroupPresenter extends GroupContract.Presenter {




    public String getTime(){
       return  spTools.getString("coursetime");
   }


    @Override
    public void getGroup(int id) {
        rxManager.add(
                modle.getGroup(id)
                        .subscribe(result -> {
                                    view.setGroup(result.getData());
                                },
                                e -> {
                                    Log.i("test2", e.getMessage());
                                }));
    }
}
